<template>
  <div>
    <p>当前的身高为{{ height | persist }}</p>
    <p>当前的体重为{{ weight }}</p>
  </div>
</template>

<script>
export default {
  data() {
    return {
      height: 180.458745,
      weight: 160.345478,
    }
  },
  filters: {
    persist(data) {
      return data
      // return
    },
  },
}
</script>

<style></style>
